SPI Flash and External SPI RAM Configuration 您所在的位置:网站首页 flash mode enabled SPI Flash and External SPI RAM Configuration

SPI Flash and External SPI RAM Configuration

2024-06-06 17:02| 来源: 网络整理| 查看: 265

Error Handling

If a board with Octal Flash resets before the second-stage bootloader:

ESP-ROM:esp32s3-20210327 Build:Mar 27 2021 rst:0x7 (TG0WDT_SYS_RST),boot:0x18 (SPI_FAST_FLASH_BOOT) Saved PC:0x400454d5 SPIWP:0xee mode:DOUT, clock div:1 load:0x3fcd0108,len:0x171c ets_loader.c 78

this may mean that the necessary efuses are not correctly burnt. Please check the eFuse bits of the chip using command espefuse.py summary.

The ROM bootloader relies on an eFuse bit FLASH_TYPE to reset the Flash into the default mode (SPI mode). If this bit is not burnt and the flash is working in OPI mode, ROM bootloader may not be able to read from the flash and load the following images.

If you enabled CONFIG_ESPTOOLPY_OCT_FLASH, and there's an error log saying:

Octal Flash option selected, but EFUSE not configured!

this means:

either you're using a board with a Quad Flash

or you're using a board with an Octal Flash, but the eFuse bit FLASH_TYPE isn't burnt. Espressif guarantees this bit during module manufacturing, but if the module is manufactured by others, this may happen.

Here is a method to burn the eFuse bit:

python3 ./espefuse.py -p /dev/ --do-not-confirm burn_efuse FLASH_TYPE 1

Note

This step is irreversible. Please do check if your hardware is actually using an Octal Flash.



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有